<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数据</title>
    <script src="../vue.js"></script>
</head>
<body>


<div id="mydiv">
    <div v-text="content"></div>
    <div v-html="content"></div>

</div>

</body>
<script>
    new Vue({
        el:"#mydiv",
        data:{
            msg:"hello vue",
            content:"<h1>hello</h1>"
        }
    });


</script>
</html>